
FIND_PATH(LIBXML2_INCLUDE_DIR xmlversion.h 
/usr/include/libxml2/libxml
)

FIND_PATH(LIBXML2_LIBRARY_DIR
   NAMES libxml2.a libxml2.so
   PATHS /usr/lib/
)

FIND_LIBRARY(LIBXML2_LIBRARY
             NAMES xml2
             PATHS  /usr/lib 
)

SET(LIBXML2_LIBRARIES ${LIBXML2_LIBRARY} )
MARK_AS_ADVANCED(LIBXML2_INCLUDE_DIR  LIBXML2_LIBRARY )
